package ij.hkust.gui.laserCtr.STORM;

import javax.swing.JLabel;

/**
 * the label show in camera row
 * @author liuquan
 *
 */
public class CameraLabel extends JLabel{

	private static final long serialVersionUID = 3446232212000616278L;

	private int index;//the index in parent
	
	private boolean isUse = true;
	private int time = 0;//the
	private int imageCount = 0;///the count for image
	private int channel = 0;//
	private int waitTime = 0;//the time to wait before it start
	private int periodTime = 0;//the total time that all the camera take
	
	public CameraLabel(){
		this.setText("ON");
	}
	
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public int getImageCount() {
		return imageCount;
	}
	public void setImageCount(int imageCount) {
		this.imageCount = imageCount;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}

	public boolean isUse() {
		return isUse;
	}

	public void setUse(boolean isUse) {
		this.isUse = isUse;
	}
	public int getChannel() {
		return channel;
	}
	public void setChannel(int channel) {
		this.channel = channel;
	}
	public int getWaitTime() {
		return waitTime;
	}
	public void setWaitTime(int waitTime) {
		this.waitTime = waitTime;
	}
	public int getPeriodTime() {
		return periodTime;
	}
	public void setPeriodTime(int periodTime) {
		this.periodTime = periodTime;
	}
	
}

